package com.easyedu.core.utils;

/**
 * @author mengranliu
 * @date 2022/3/7
 */
public class DoubleUtil {

     public static boolean isBefore0to1(double... args) {

          for (double a : args) {
               if (a < 0 || a > 1) {
                    return false;
               }
          }
          return true;
     }

}
